using System.Collections.Generic;

public class RankConfig
{
	public const int RANK_TOP_COUNT = 20;

	private static string FILE_PATH = "Cfg/Rank";

	private static List<RankInfo> _rankInfos = new List<RankInfo>();

	private static bool _isLoaded = false;

	public static List<RankInfo> rankInfos
	{
		get
		{
			return _rankInfos;
		}
		set
		{
			_rankInfos = value;
		}
	}

	public static void Load()
	{
		if (!_isLoaded)
		{
			_rankInfos = Utils.LoadXML<RankInfo>(FILE_PATH);
			_isLoaded = true;
		}
	}
}
